{
  "type": "object",
  "required": [
    "id",
    "name",
    "slug",
    "tier",
    "external_url",
    "state",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "slug": { "type": "string" },
    "tier": { "type": "string" },
    "external_url": { "$ref": "../../types/nullable_string.json" },
    "last_deployment": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "deployment.json" }
      ]
    },
    "state": { "type": "string" },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "project": { "$ref": "project.json" }
  },
  "additionalProperties": false
}
